std::basic_streambuf

From Cppreference

< cpp | io
Jump to: navigation, search
Defined in header <streambuf>

template<

    class CharT,
    class Traits = std::char_traits<CharT>,
    class Allocator = std::allocator<CharT>

> class basic_streambuf;

Two specializations for common character types are also defined:

Defined in header <streambuf>
Type Definition
streambuf ​basic_streambuf<char>
wstreambuf ​basic_streambuf<wchar_t>


Contents

Member types

Member type Definition
char_type ​CharT​
traits_type ​Traits​
int_type ​Traits::int_type
pos_type ​Traits::pos_type
off_type ​Traits::off_type
Template:cpp/io/basic streambuf/dcl list ~basic streambufTemplate:cpp/io/basic streambuf/dcl list pubimbueTemplate:cpp/io/basic streambuf/dcl list getlocTemplate:cpp/io/basic streambuf/dcl list pubsetbufTemplate:cpp/io/basic streambuf/dcl list pubseekoffTemplate:cpp/io/basic streambuf/dcl list pubseekposTemplate:cpp/io/basic streambuf/dcl list pubsyncTemplate:cpp/io/basic streambuf/dcl list in availTemplate:cpp/io/basic streambuf/dcl list snextcTemplate:cpp/io/basic streambuf/dcl list sbumpcTemplate:cpp/io/basic streambuf/dcl list sgetcTemplate:cpp/io/basic streambuf/dcl list sgetnTemplate:cpp/io/basic streambuf/dcl list sputcTemplate:cpp/io/basic streambuf/dcl list sputnTemplate:cpp/io/basic streambuf/dcl list sputbackcTemplate:cpp/io/basic streambuf/dcl list sungetcTemplate:cpp/io/basic streambuf/dcl list basic streambufTemplate:cpp/io/basic streambuf/dcl list imbueTemplate:cpp/io/basic streambuf/setbufTemplate:cpp/io/basic streambuf/seekoffTemplate:cpp/io/basic streambuf/seekposTemplate:cpp/io/basic streambuf/syncTemplate:cpp/io/basic streambuf/showmanycTemplate:cpp/io/basic streambuf/xsgetnTemplate:cpp/io/basic streambuf/underflowTemplate:cpp/io/basic streambuf/uflowTemplate:cpp/io/basic streambuf/xsputnTemplate:cpp/io/basic streambuf/overflowTemplate:cpp/io/basic streambuf/pbackfail

[edit] See also

io/basic_filebuf, io/basic_stringbuf

Member functions

Locales
Positioning
Get arena
Put arena
Putback

Protected member functions

Locales
Positioning
Get arena
Put arena
Putback
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages